<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

class CategoryModel extends Model {

    public function get_category($cate_id) {

        $map["cate_id"] = $cate_id;
         $res = $this->where($map)->find();
        return $res;
    }

}
